import Index from './Index.vue'
export default [
    {
        path: '/index',
        name: 'index',
        component: Index,
        meta: {
            needLogin: false,
            title: '首页'
        }
    },{
        path: '/profile',
        name: 'profile',
        component: () => import ('./profile'),
        meta: {
            needLogin: false,
            title: '个人中心'
        }
    },{
        path: '/cart',
        name: 'cart',
        component: () => import ('./cart'),
        meta: {
            needLogin: true,
            title: '购物车'
        }
    }
]